Help static analysis with an assertion
authorMatthias Clasen <mclasen@redhat.com>
Tue, 26 May 2020 00:38:16 +0000 (20:38 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 26 May 2020 00:56:09 +0000 (20:56 -0400)
commitec39ddee632a41ae243e7014992febf94258c5c4
tree1b94c1ff0592d820eab75c7a69a38d21156dead4
parent0f096d6ad99330b73c34370f15aff39190539a19
Help static analysis with an assertion

It is hard for clang to see that layouts will
always be smaller than num_layouts, so just assert
that.
gdk/wayland/gdkkeys-wayland.c